import { LayerType } from "db://app-game/core/gui/layer/LayerManager";

export enum UIID {
  /** 初始化资源界面 */
  Initialize,
  /** 资源加载界面 */
  Loading,
  /** 主界面 */
  Home,
  /** 关卡 */
  Level,
}

/** 打开界面方式的配置数据 */
export const UIConfigData = {
  [UIID.Initialize]: { layer: LayerType.UI, prefab: "prefab/scene/initialize" },
  [UIID.Loading]: { layer: LayerType.UI, prefab: "prefab/scene/loading" },
  [UIID.Home]: { layer: LayerType.UI, prefab: "prefab/scene/home" },
  [UIID.Level]: { layer: LayerType.UI, prefab: "prefab/scene/level" },
};
